@use "sass:math";
*{
    padding: 0;
    margin: 0;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
.w{
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.shortcut{
    width: 100%;
    height: 36px;
    background-color: #3a3a3a;
    .layout{
        @extend .w;
        height: 36px;
        display: flex;
        justify-content: space-between;
        .s-sub, .s-main{
            height: 36px;
            & > ul{
                position: relative;
                & > li{
                    padding-right: 8px;
                }
                & > li+li{
                    ::before{
                        content: "|";
                        color: #afafaf;
                        margin-right: 8px;
                    }
                }
                & > li{
                    float: left;
                    line-height: 36px;

                    a {
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }
                & > .a{
                    width: 74px;
                    position: absolute;
                    left: 409px;
                    top:12px;
                    font-size: 12px;
                    a{
                        color: #afafaf;
                    }
                    .b{
                        width: 150px;
                        height: 150px;
                        position: relative;
                        left: -100px;
                        background-color: #fff;
                        text-align: center;
                        p:first-child{
                            margin-top: 18px;
                        }
                        font-size: 16px;
                        p{
                            margin-top: 15px;
                            a{
                                color: #777;
                            }
                        }
                        z-index: 3;
                        display: none;
                    }
                }
                .hide{
                    float: left;
                    line-height: 36px;
                    margin-top: 12px;
                    :last-child{
                        display: none;
                    }
                    a{
                        display: block;
                        color: #afafaf;
                        font: 12px/1.5 "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
                    }
                }

                
            }
        }
        .s-main{
            li:last-child{
                background-color: #424242;
            }
            li:nth-child(2){
                ::before{
                    content: "";
                }
            }
        }
    }
}

//头部
.header{
    width: 100%;
    height: 41px;
    min-width: 1200px;
    padding: 18px 0 15px 0;
    position: relative;
    .layout{
        @extend .w;
        height: 41px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .left{
            .logo{
                width: 205px;
                height: 41px;
                float: left;
                margin-right: 34px;
                a{
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .naver{
                height: 41px;
                float: left;
                ul{
                    height: 41px;
                    li{
                        float: left;
                        margin-right: 24px;
                    }
                    :first-child{
                        margin-top: 4px;
                        img{
                            width: 74px;
                            height: 24px;
                        }
                    }
                    li+li{
                        a{
                            line-height: 41px;
                        font-size: 16px;
                        color:#333;
                        }
                    }
                }
            }
        };
        //搜索框
        .right{
            width: 240px;
            height: 36px;
            background-color: #F0F0F0;
            border-radius: 24px;
            overflow: hidden;
            .searchBar{
                width: 205px-2;
                height: 35px-2;
                float: left;
                border: 1px solid transparent;
                outline: none;
                text-indent: 20px;
                background-color: #f0f0f0;
            }
            .searchBtn{
                width: 35px;
                height: 36px;
                line-height: 36px;
                text-align: center;
                .icon-sousuo{
                    font-size: 24px;
                    color: #222;
                }
            }
        }
    }
}


//详情
.product{
    width: 1200px;
    height: 670px;
    margin: 0 auto;
    .pic{
        width: 450px;
        height: 536px;
        float: left;
        position: relative;
        .tool{
            overflow: hidden;
            position: relative;
            .picmain{
                width: 450px;
                height: 450px;
                overflow: hidden;
                ul{
                    li{
                        display: none;
                        img{
                            width: 450px;
                            height: 450px;
                        }
                    }
                    .onshow{
                        display: block;
                    }
                }
                .shadow{
                    background-color: rgba(0,0,0,0.4);
                    display: none;
                    width: 225px;
                    height: 225px;
                    position: absolute;
                    top: 0;
                    left: 0;
                }
            }
            
            .picnav{
                width: 450px;
                height: 68px;
                margin-top: 18px;
                overflow: hidden;
                .icleft{
                    margin-top: 19px;
                    width: 28px;
                    height: 28px;
                    line-height: 28px;
                    text-align: center;
                    float: left;
                    border-radius: 50%;
                    border: 1px solid #B8B8B8;
                    em{
                        font-size: 20px;
                        color: #B8B8B8;
                        // color: #3a3a3a;
                    }
                }
                .icmain{
                    width: 370px;
                    height: 68px;
                    float: left;
                    margin-left: 10px;
                    overflow: hidden;
                    ul{
                        li{
                            float: left;
                            width: 66px;
                            height: 66px;
                            border: 1px solid #fff;
                            padding: 0 3px;
                            a{
                                width: 66px;
                                height: 66px;
                                img{
                                    width: 66px;
                                    height: 66px;
                                }
                            }
                        }
                        .active{
                            border: 1px solid red;
                        }
                    }
                }
                .icright{
                    float: left;
                    margin-right: 0;
                    margin-top: 19px;
                    width: 28px;
                    height: 28px;
                    line-height: 28px;
                    text-align: center;
                    float: left;
                    border-radius: 50%;
                    border: 1px solid #B8B8B8;
                    em{
                        font-size: 20px;
                        color: #B8B8B8;
                        // color: #3a3a3a;
                    }
                }
            }
        }
        .fang{
            width: 450px;
            height: 450px;
            position: absolute;
            top: 0;
            left: 460px;
            background-color: #fff;
            // display: none;
            z-index: 8;
            overflow: hidden;
            // .toolbox{
            //     width: 450px;
            //     height: 450px;
            //     overflow: hidden;
            //     position: relative;
            //     left: 0;
            //     top: 0;
                img{
                    display: none;
                    width: 900px;
                    height: 900px;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
                .look{
                    display: block;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
            // }
        }
    }
    .describe{
        width: 700px;
        float: left;
        margin-left: 30px;
        overflow: hidden;
        .meta{
            width: 700px;
            height: 80px;
            line-height: 80px;
            text-align: center;
            margin-bottom: 10px;
            h1{
                font-size: 21px;
                font-weight: 400;
                height: 80px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                line-height: 40px;
                overflow: hidden;
                text-align: left;
            }
        }
        .unitPrice{
            width: 700px;
            height: 68px;
            background: #f5f5f5;
            padding-top: 14px;
            padding-bottom: 3px;
            .yuan{
                width: 700px;
                height: 30px;
                line-height: 30px;
                padding-bottom: 4px;
                span:first-child{
                    font-size: 14px;
                }
                span:nth-child(2){
                    color: red;
                }
                span:last-child{
                    color: red;
                    font-size: 24px;
                }
            }
            .desc{
                width: 700px;
                height: 30px;
                line-height: 30px;
                padding-bottom: 4px;
                font-size: 14px;
                span:nth-child(2){
                    color: #ca141d;
                    border: 1px solid #ca141d;
                    padding: 2px 6px;
                    font-size: 12px;

                }
            }
        }
        .operation{
            width: 700px;
            height: 50px;
            margin-top: 30px;
            .num{
                width: 158px;
                height: 48px;
                border: 1px solid #c1c1c1;
                float: left;
                .reduce{
                    width: 39px;
                    height: 48px;
                    line-height: 48px;
                    text-align: center;
                    border-right: 1px solid #c1c1c1;
                    float: left;
                    a{
                        display: block;
                        width: 39px;
                        height: 48px;
                        color: #000;
                    }
                }
                .count{
                    float: left;
                    width: 78px;
                    input{
                        display: block;
                        width: 78px;
                        height: 48px;
                        text-align: center;
                        border: none;
                        font-size: 24px;
                        color: #000;
                    }
                }
                .add{
                    width: 39px;
                    height: 48px;
                    line-height: 48px;
                    text-align: center;
                    border-left: 1px solid #c1c1c1;
                    float: left;
                    a{
                        display: block;
                        width: 39px;
                        height: 48px;
                        color: #000;
                    }
                }
            }
            .jion{
                width: 172px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                border-radius: 8px;
                float: left;
                margin-left: 10px;
                background-color: #fc600c;
                a{
                    color: #FFF;
                    font-size: 18px;
                }
            }
            .toshop{
                width: 172px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                border-radius: 8px;
                float: left;
                margin-left: 10px;
                background-color: #ca151d;
                a{
                    color: #FFF;
                    font-size: 18px;
                }
            }
        }
    }
}

.footer{
    width: 100%;
    position: relative;
    margin-top: 60px;
    background-color: #f9f9f9;
    //口号
    .slogan-container{
        height: 82px;
        .slogan{
            width: 1200px;
            height: 40px;
            padding: 22px 0 20px;
            margin: 0 auto;
            ul{
                width: 1200px;
                height: 40px;
                display: flex;
                justify-content: space-between;
                li{
                    text-align: center;
                    a{
                        font-size: 18px;
                        color: #333;
                        i{
                            display: inline-block;
                            vertical-align: middle;
                            width: 39px;
                            height: 39px;
                            line-height: 39px;
                            margin-right: 15px;
                            border: 1px solid red;
                            border-radius: 50%;
                            color: red;
                            font-size: 28px;
                        }
                    }
                }
            }
        }
    }
    //服务
    .service-container{
        width: 100%;
        height: 211px;
        .service{
            border-top: 1px solid #E5E5E5;
            border-bottom: 1px solid #E5E5E5;
            padding: 23px 0 24px;
            width: 1200px;
            height: 162px;
            margin: 0 auto;
            .service-l{
                float: left;
                width: 920px;
                height: 155px;
                padding-top: 5px;
                border-right: 1px solid #e5e5e5;
                color: #3a3a3a;
                dl{
                    width: 16.66667%;
                    float: left;
                    display: block;
                    dt{
                        font-size: 14px;
                        color: #3A3A3A;
                        p{
                            font-size: 14px!important;
                            padding-bottom: 7px;
                            color: #333;
                            display: block;
                            border-left: none;
                            padding-left: 0;
                            line-height: 1.5!important;
                            margin-bottom: 0!important;
                        }
                    }
                    dd{
                        display: block;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    line-height: 22px;
                                    color: #777;
                                    font-size: 12px;
                                }
                            }
                        }
                    }
                }
            }
            .service-r{
                width: 278px;
                min-height: 160px;
                margin-top: 2px;
                text-align: center;
                float: left;
                dl{
                    width: 279px;
                    dt{
                        p{
                            color: #575757;
                            font-weight: bold;
                            font-size: 24px;
                        }
                    }
                    dd{
                        font-size: 14px;
                        color: #333;
                        ol{
                            list-style: none;
                            li{
                                a{
                                    color: #575757;
                                }
                            }
                        }
                        & > a{
                            display: block;
                            width: 170px;
                            height: 34px;
                            padding: 0;
                            margin: 0 auto;
                            margin-top: 10px;
                            font-size: 14px;
                            line-height: 34px;
                            background: #333;
                            cursor: pointer;
                            border-radius: 17px;
                            font-size: 14px;
                            color: #fff;
                            i{
                                display: inline-block;
                                height: 20px;
                                line-height: 20px;
                                width: 20px;
                                margin-right: 6px;
                                vertical-align: middle;
                            }
                        }
                    }
                }
                .service_code{
                    float: left;
                    width: 250px;
                    margin-top: 26px;
                    margin-left: 40px;
                    h2{
                        font-size: 14px;
                        color: #333;
                        float: left;
                        font-weight: 400;
                    }
                    ul{
                        float: left;
                        margin-left: 3px;
                        li{
                            width: 24px;
                            height: 24px;
                            margin-right: 11px;
                            position: relative;
                            float: left;
                            a{
                                color: #3a3a3a;
                            }
                        }
                    }
                }
            }
        }
    }
    //底部
    .foot-container{
        width: 100%;
        min-width: 1200px;
        height: 134px;
        .foot{
            padding: 25px 0 28px;
            width: 1200px;
            margin: 0 auto;
            color: #666;
            line-height: 1.5;
            .foot-area{
                text-align: left;
                color: #a4a4a4;
                line-height: 20px;
                font-size: 12px;
                .foot-log{
                    float: left;
                    width: 82px;
                    height: 20px;
                    padding: 3px 20px 0 0;
                    a{
                        display: block;
                        width: 100%;
                        height: 100%;
                        img{
                            width: 82px;
                            height: 20px;
                        }
                    }
                }
                & > div{
                    float: left;
                    ul{
                        margin-top: 3px;
                        margin-bottom: 6px;
                        display: block;
                        height: 12px;
                        li{
                            float: left;
                            line-height: 1;
                            padding-right: 6px;
                            border-right: 1px solid #d3d3d3;
                            margin-right: 6px;
                            a{
                                color: #777;
                                font-size: 12px;
                            }
                        }
                    }
                    & > a{
                        color: #a4a4a4;
                        font-size: 12px;
                    }
                }
                .foot-img{
                    float: right;
                    margin-top: 2px;
                    width: 278px;
                    text-align: center;
                    a{
                        display: inline-block;
                        width: 100px;
                        margin: 0 5px;
                        color: #a4a4a4;
                        img{
                            vertical-align: top;
                            width: 100px
                        }
                    }
                }
            }
        }
    }
}